<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>劳动监察管理信息系统</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="main">
<font color=red><c:if test="${!empty contractCount && contractCount > 0}">您的单位有${contractCount}份<a href="<%=request.getContextPath()%>/UnitContractInfo.do?method=upComingList">即将到期合同！</a></c:if></font>
<div id="mainnews">
 <div id="titlenews">最新法律法规</div>
 <ul>
  <c:forEach items="${lawNewList}" var="lawNew">
  <li><span class="list"><a href="<%=request.getContextPath()%>/unitManage.do?method=lawDetail&lawInfoId=${lawNew.lawInfoId}" target="_blank" title="${lawNew.lawInfoTitle }">${fn:substring(lawNew.lawInfoTitle, 0, 12)}</a></span><span class="newsdate">[<fmt:formatDate pattern="yyyy-MM-dd" value="${lawNew.lawInfoTime}"/>]</span></li>
  </c:forEach>
 </ul>
</div>
<div id="mainnotice">
 <div id="titlenotice">常用法律法规</div>
 <ul>
  <c:forEach items="${lawFreqList}" var="lawFreq">
  <li><span class="list"><a href="<%=request.getContextPath()%>/unitManage.do?method=lawDetail&lawInfoId=${lawFreq.lawInfoId}" target="_blank" title="${lawFreq.lawInfoTitle}">${lawFreq.lawInfoTitle}</a></span><span class="newsdate">[<fmt:formatDate pattern="yyyy-MM-dd" value="${lawFreq.lawInfoTime}"/>]</span></li>
  </c:forEach> 
 </ul>
</div>
</div>
</body>
</html>
